package hk.mrtomato.dto;
/**
 * 
 * @author Kim munsu
 *
 */
public class MruserDTO {
	/*
	 * CREATE TABLE  MRUSER
              (
              ID VARCHAR2(30) PRIMARY KEY NOT NULL,
              PASSWORD VARCHAR2(30) NOT NULL,
              AUTH NUMBER(3),
              NAME VARCHAR2(40),
              ADDRESS VARCHAR2(80)
              );
	 */
	//field
	private String id;
	private String password;
	private int auth;
	private String name;
	private String address;
	
	// constructor
	public MruserDTO(){}
	public MruserDTO(String id, String password, int auth, String name,
			String address) {
		this.id = id;
		this.password = password;
		this.auth = auth;
		this.name = name;
		this.address = address;
	} 

	//getter setter
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAuth() {
		return auth;
	}
	public void setAuth(int auth) {
		this.auth = auth;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	//toString
	@Override
	public String toString() {
		return "MruserDTO [id=" + id + ", password=" + password + ", auth="
				+ auth + ", name=" + name + ", address=" + address + "]";
	}
}
